import request from '../utils/request.js';
export function getMerchantList(data) {
    return request({
        url: '/WXWholesalePriceGoods',
        method: 'POST',
        data,
    })
}
export function getWaresList(data) {
    return request({
        url: '/GoodsFileInquiry',
        method: 'POST',
        data,
    })
}
//获取供应商主键
export function getSupplierInfoID(data) {
    return request({
        url: '/getSupplierInfoID',
        method: 'POST',
        data,
    })
}
//提交采购订单
export function setPurchaseOrder(data) {
    return request({
        url: '/setPurchaseOrder',
        method: 'POST',
        data,
    })
}
//减库存
export function getArticleCheckStock(data) {
    return request({
        url: '/getArticleCheckStock',
        method: 'POST',
        data,
    })
}
//采购订单微信支付
export function PurchaseNative(data) {
    return request({
        url: '/PurchaseNative',
        method: 'POST',
        data,
    })
}
//查询外键
export function get_wj(data) {
    return request({
        url: '/GoodsInquiryKey',
        method: 'POST',
        data,
    })
}
//查询采购记录
export function getPurchaseRecord(data) {
    return request({
        url: '/getPurchaseOrderAll',
        method: 'POST',
        data,
    })
}
export function getPurchaseOrderPaystages(data) {
    return request({
        url: '/getPurchaseOrderPaystages',
        method: 'POST',
        data,
    })
}

export function getPurchaseWeChatPayForMiniPrograms(data) {
    return request({
        url: '/getPurchaseWeChatPayForMiniPrograms',
        method: 'POST',
        data,
    })
}
/// 经销商购物车查询接口
export function WholesalePriceShopCarAll(data) {
    return request({
        url: '/getWholesalePriceShopCarAll',
        method: 'POST',
        data,
    })
}

